﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="authorDetailPage.aspx.cs" Inherits="LibrarySystem.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">

    <asp:Label ID="authorDetailName" runat="server"></asp:Label>
    <asp:Label ID="authorDetailYear" runat="server"></asp:Label>
    <br /> <br />
    <asp:Label ID="authorDetailCount" runat="server" CssClass="labels"></asp:Label>
    <asp:ListView ID="bookDetailCopyList" runat="server">
        <LayoutTemplate> 
             <tbody> <asp:PlaceHolder runat="server" ID="itemPlaceholder" /> </tbody>
        </LayoutTemplate>
        <ItemTemplate>    
            <asp:LinkButton  runat="server" OnCommand="listItem_ClickedBook" CssClass="linkBtnBook" CommandName='<%#Eval("ISBN")%>'>        
                <table id="bookDetailCopies"> <tr><td id="bookDetailOne"><%# Eval("Title") %> </td><td id="bookDetailTwo">ISBN: <%# Eval("ISBN") %></td></tr></table>
                </asp:LinkButton>
        </ItemTemplate>        
    </asp:ListView>
</asp:Content>
